//
//  CLMacros.h
//  Class_IOS
//
//  Created by peter on 14-8-29.
//  Copyright (c) 2014年 qiuyang. All rights reserved.
//

#ifndef CLMACROS_H
#define CLMACROS_H

/**
 *  UMENG event define
 */


/**
 *  device info
 */
#define IS_IOSVERSION7 ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0)

#define IS_IPHONE5 ([UIScreen instancesRespondToSelector:@(currentMode)]? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO)

#define SCREENWIDTH     [UIScreen mainScreen].bounds.size.width
#define SCREENHEIGHT    [UIScreen mainScreen].bounds.size.height

#define NAVIGATIONHEIGHT    64
#define TABBARHEIGHT        49



/**
 *  国际化
 */
#define LOCALSTRING(key) \
[[InternationalControl bundle] localizedStringForKey:(key) value:nil table:@"Localizable"]



#endif